package com.ruoyi.ofld.domain;

import com.ruoyi.common.core.domain.entity.SysUser;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 车辆信息管理对象 car_info
 *
 * @author zf
 * @date 2025-01-06
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CarInfo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @Excel(name = "id")
    private Integer id;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private String carNumber;

    /** 车辆图片 */
    @Excel(name = "车辆图片")
    private String carImg;

    /** 车辆类型 id */
    @Excel(name = "车辆类型 id")
    private Integer typeId;

    /** 车主 id */
    @Excel(name = "车主 id")
    private Integer carerId;

    /** 运输类型 id */
    @Excel(name = "运输类型 id")
    private Integer shipId;

    /** $column.columnComment */
    private String del;

    @Excel(name = "carType")
    private CarType carType;


    // 为 CarType 属性添加 getter 方法

    public CarType getCarType() {
        return carType;
    }

    public void setCarType(CarType carType) {
        this.carType = carType;
    }

    public ShipType getShipType() {
        return shipType;
    }

    public void setShipType(ShipType shipType) {
        this.shipType = shipType;
    }

    @Excel(name = "nihao")
    private ShipType shipType;


    public SysUser getSysUser() {
        return sysUser;
    }

    public void setSysUser(SysUser sysUser) {
        this.sysUser = sysUser;
    }

    private SysUser sysUser;

    private  String typeName;

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getNickname() {
        return nickName;
    }

    public void setNickname(String nickName) {
        this.nickName = nickName;
    }

    public String getShipName() {
        return shipName;
    }

    public void setShipName(String shipName) {
        this.shipName = shipName;
    }

    private String  nickName;
    private  String shipName;

}